package com.neusoft.bean;

import java.util.Date;
import java.util.List;

public class UserBean {
    private Integer id;

    private String username;

    private Date birthday;

    private String address;
    
    private List<OrdersBean> ordersList;
    
    
    public List<OrdersBean> getOrdersList() {
		return ordersList;
	}

	public void setOrdersList(List<OrdersBean> ordersList) {
		this.ordersList = ordersList;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

	@Override
	public String toString() {
		return "UserBean [id=" + id + ", username=" + username + ", birthday=" + birthday + ", address=" + address
				+ ", ordersList=" + ordersList + "]";
	}

	
    
}